cat hosts.tmp | while read line
do 
  echo $line
done